﻿using Sunny.UI;
using System;
using System.Drawing;

namespace CoreShop.App
{
    public partial class UIAddPrinter : UIUserControl
    {
        public UIAddPrinter()
        {
            InitializeComponent();
        }

        private void UIAddPrinter_Paint(object sender, System.Windows.Forms.PaintEventArgs e)
        {
            e.Graphics.FillRoundRectangle(Color.White, new Rectangle(1, 5, 413, 243), 9);
        }

        public event EventHandler AddPrinter;
        private void btn_Click(object sender, System.EventArgs e)
        {
            AddPrinter?.Invoke(this, e);
        }

        private void UIAddPrinter_Click(object sender, EventArgs e)
        {
            AddPrinter?.Invoke(this, e);
        }

        private void pictureBox1_Click(object sender, EventArgs e)
        {
            AddPrinter?.Invoke(this, e);
        }
    }
}
